package com.newlink.building.callback

import org.linphone.core.Call

/**
 * Created by xiaodong on 2022/9/16.
 */
interface Module_Phone_CallStateCallback {
    /**
     * 来电状态
     */
    fun incommingCall(call: Call)

    /**
     *开始呼叫
     */
    fun outgoingInit(call: Call)

    /**
     * 电话接通
     */
    fun callConnected(call: Call)

    /**
     * 电话挂断
     */
    fun callEnd(call: Call?)

    /**
     * 释放通话
     */
    fun callReleased(call: Call)

    /**
     * 通话失败
     */
    fun callError(call: Call)

    /**
     * 远端状态改变
     */
    fun updatedByRemote(call: Call)
}